package com.springboot.framework.controller.request;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.math.BigDecimal;

@Data
public class UserAddressInsert {
    @NotEmpty(message = "参数错误")
    private String userWechatOpenid;

    @NotEmpty(message = "参数错误")
    private String contactName;

    @NotEmpty(message = "参数错误")
    private String contactPhone;

    @NotEmpty(message = "参数错误")
    private String areaCode;

    @NotEmpty(message = "参数错误")
    private String areaName;

    @NotEmpty(message = "参数错误")
    private String areaArray;

    @NotEmpty(message = "参数错误")
    private String address;

    private String label;
//    private BigDecimal longitude;
//    private BigDecimal latitude;
}
